Gastric ulcers are sores that develop on the lining of the stomach. They can be painful and can cause discomfort and digestion problems.